package com.mall.interface1.api;

import com.mall.domain.OmsCompanyAddress;
import com.mall.domain.OmsOrderReturnApply;
import com.mall.dto.OrderReturnDto;
import com.mall.dto.ReturnApplyDto;

import java.util.List;

public interface OmsOrderReturnApplyApi {


    //批量删除退货申请
    void deleteReturn(List<Long> ids);

    List<OmsOrderReturnApply> list(ReturnApplyDto dto);

    Integer count(ReturnApplyDto dto);

    //修改退货申请状态
    void updateStatus(Long id, OmsOrderReturnApply omsOrderReturnApply);

    //获取退货申请详情
    OmsOrderReturnApply findReturnById(Long id);

    //根据地址id获取地址
    OmsCompanyAddress findAddressById(Long companyAddressId);
}
